/**
 * @file 用户信息API
 * @author liushuang(liushuang04@baijia.com)
 * @date 2019-11-15
 */

import http from './http';
import constant from './constant';

export const fetchUserInfo = () => http.post(constant.USER.GET_USER_INFO, null, {
    headers: {'Content-Type': 'application/json'}
});

export const logout = () => http.get(constant.USER.LOG_OUT);
